(get_glyph_string_clip_rect): Fix reduction of cursor
authorKim F. Storm <storm@cua.dk>
Tue, 13 Apr 2004 21:31:23 +0000 (21:31 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 13 Apr 2004 21:31:23 +0000 (21:31 +0000)
commit598e7f7ced21d152a431ed479c424d8d46d8c0d4
tree7fa4be33b8a4454c777fb80b2169278a18e56f5d
parent8abfa7cdc6050b60836d9eba7f786fedadb2784d
(get_glyph_string_clip_rect): Fix reduction of cursor
height to glyph height when cursor row is not fully visible.
(make_cursor_line_fully_visible): Add FORCE_P arg to return
failure in case row is higher than window.  Callers changed.
(try_scrolling): Fix loop in scrolling if last_line_misfit (from Gerd).
Try to scroll partially visible, higher-than-window cursor row.
(redisplay_window): Always try to scroll partially visible,
higher-than-window cursor row - both initially and again with
centering_position = 0.
Clear desired matrix before retrying with centering_position = 0.
src/xdisp.c